package cn.edu.tju.core.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class Product implements Serializable {

    private Integer id;

    private String name;

    private String description;

    private BigDecimal price;

    private Integer merchantId;

    private String image;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }
}
